﻿using System;

namespace ServeAnything.Service
{
    /// <summary>
    /// </summary>
    [Flags]
    public enum ServiceManagerRights
    {
        /// <summary>
        /// </summary>
        Connect = 0x0001,

        /// <summary>
        /// </summary>
        CreateService = 0x0002,

        /// <summary>
        /// </summary>
        EnumerateService = 0x0004,

        /// <summary>
        /// </summary>
        Lock = 0x0008,

        /// <summary>
        /// </summary>
        QueryLockStatus = 0x0010,

        /// <summary>
        /// </summary>
        ModifyBootConfig = 0x0020,

        /// <summary>
        /// </summary>
        StandardRightsRequired = 0xF0000,

        /// <summary>
        /// </summary>
        AllAccess = (StandardRightsRequired | Connect | CreateService |
                     EnumerateService | Lock | QueryLockStatus | ModifyBootConfig)
    }
}